package com.service.impl;

import com.bean.Accender;
import com.dao.AccenderDao;
import com.service.AccenderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class AccenderServiceImpl implements AccenderService {
    @Resource
    AccenderDao accenderDao;
    @Override
    public List<Accender> queryAccenderList() {
        return accenderDao.queryAccenderList();
    }

    @Override
    public String queryEmailByName(String username) {
        return accenderDao.queryEmailByName(username);
    }
}
